//
//  STravel2TableViewCell.m
//  News
//
//  Created by dlios on 15-5-15.
//  Copyright (c) 2015年 PEAK. All rights reserved.
//

#import "STravel2TableViewCell.h"

@implementation STravel2TableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.imgCell = [[UIImageView alloc] init];
     _imgCell.backgroundColor = [UIColor redColor];
        
        [self.contentView addSubview:_imgCell];
        [_imgCell release];
    }
    return self;

}
-(void)layoutSubviews
{
    
    [super layoutSubviews];
    
    _imgCell.frame =self.contentView.bounds;
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
